package com.edu.exam.enums.monitoring;

import com.edu.exam.enums.core.StatusEnum;

/**
 * 违规状态枚举
 * 管理质量检查发现的违规问题状态
 *
 * @author System
 * @version 1.0.0
 */
public enum ViolationStatus implements StatusEnum {

    IDENTIFIED("IDENTIFIED", "已识别"),
    REPORTED("REPORTED", "已上报"),
    INVESTIGATING("INVESTIGATING", "调查中"),
    CONFIRMED("CONFIRMED", "已确认"),
    RESOLVED("RESOLVED", "已解决"),
    DISMISSED("DISMISSED", "已驳回"),
    CLOSED("CLOSED", "已关闭"),
    ESCALATED("ESCALATED", "已升级");

    private final String code;
    private final String description;

    ViolationStatus(String code, String description) {
        this.code = code;
        this.description = description;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDescription() {
        return description;
    }


    @Override
    public String toString() {
        return this.code + "(" + this.description + ")";
    }
}